@import "../../layouts/index.less";


.center {
    background-color: #F2F8FC;
    padding-bottom: 200px;

    .personal_from {
        .ant-form-item-label {


            font-weight: 400;
            padding: 0 0 6px 14px;

            white-space: nowrap;

            label {
                width: 100%;
                color: #868686;
                text-overflow: ellipsis;
                overflow: hidden;
                display: block;
                white-space: nowrap;
            }
        }
    }

    &_warrper {
        padding: 25px 0 87px 0;
    }

    &_top {
        width: 100vw;
        height: 100%;
        background-size: 100% 100%;
        color: #fff;

        &_left {
            flex: 1;
            overflow: hidden;

            &_title {
                font-size: 32px;
                font-weight: bold;
                margin: -50px 0 15px 0;

            }

            &_des {
                font-size: 18px;
                opacity: .8;
            }

            &_tabs {
                margin-top: -60px;
                position: relative;
                z-index: 1;

                &_style {
                    .ant-tabs-nav {
                        margin-bottom: 0;

                        &::before {
                            border-bottom: 0;
                        }
                    }

                    .ant-tabs-tab {
                        border: none !important;

                        min-width: 160px;
                        height: 60px;
                        font-size: 16px;
                        color: #fff !important;
                        display: flex;
                        justify-content: center;
                        border-top-right-radius: 4px;
                        border-top-left-radius: 4px;
                    }

                    .ant-tabs-tab-active {
                        background: #F4F9FD !important;

                        .ant-tabs-tab-btn {
                            color: @colorPrimary  !important;
                        }
                    }


                }
            }
        }

        &_right {
            padding: 20px 10px 20px 30px;
            position: relative;
            align-items: center;
            display: flex;
            justify-content: space-between;

            &_bg {
                &::after {
                    content: "";
                    position: absolute;
                    top: 0;
                    left: 0;
                    right: 0;
                    bottom: 0;
                    z-index: 0;
                    background: url('../../assets/Union.png');
                    background-size: 100% 100%;
                    border-radius: 8px;
                }
            }

            &_left {
                color: #fff;
                margin-top: 10px;

                &_btn {
                    position: relative;
                    margin-top: 8px;

                    &::after {
                        background-image: url('../../assets/sign.png');
                        position: absolute;
                        bottom: 4px;
                        content: "";
                        right: -5px;
                        width: 26px;
                        height: 36px;
                        transform: scale(1.9);
                        background-size: 100% 100%;
                    }
                }
            }

            &_divider {
                border-inline-start: 1px solid rgba(255, 255, 255, 0.2);
                opacity: .2;
                margin-left: 50px;
            }

            &_right {
                text-align: center;

                canvas {
                    margin-top: 10px !important;
                }
            }
        }
    }

    &_bottom {
        position: absolute;
        bottom: 0;
        height: 388px;
        width: 100%;
        z-index: 0;
        background-image: url('../../assets/center_b_bg.png');
        background-size: 100% 100%;
    }
}

// 贷款方案
.plan {
    background: '#F5F6F8';

    &_modal {
        .ant-modal-confirm-body>.anticon {
            font-size: 30px !important;
            margin-inline-end: 0px;
        }

        .ant-modal-confirm-paragraph {
            max-width: 100% !important;
            text-align: center;
        }

        .ant-modal-confirm-btns {
            text-align: center;
        }

        .ant-modal-confirm-body {
            display: block;
            text-align: center;
        }
    }

    &_content {
        height: 790px;
        display: flex;
        justify-content: center;
        align-items: center;
        flex-direction: column;
        color: #004056;
    }

    &_warpper {
        min-height: 790px;
        padding-top: 42px;
    }

    &_card {
        background-color: transparent;
        border: none;

        .ant-card-body {
            padding: 0;
        }


        &_top {
            padding: 24px 24px 0;
        }

        &_item {
            cursor: pointer;
            border-radius: 6px;
            background-color: #fff;
            z-index: 1;
            width: 100%;
            margin-bottom: 16px;
            position: relative;

            &_tag {
                position: absolute;
                top: 0;
                right: 0;
                padding: 8px 12px;
                border-radius: 0px 0px 0px 10px;
                background: rgba(139, 199, 130, 0.2);
                color: @colorPrimary;
                font-size: 14px;
            }

            &_word {
                color: @colorPrimary;
                font-size: 14;
                margin: 0 2px;
            }

            &_info {
                padding: 6px 8px;
                background: #F5F6F8;
                border-radius: 4px 40px 40px 8px;
                font-size: 14px;

                &_label {
                    color: @colorPrimary;
                    font-size: 14px;
                    margin-bottom: 5px;
                }

                &_value {
                    font-size: 20px;
                    font-weight: bold;
                }

                &_triangle {
                    color: #fff;
                    position: relative;
                    padding: 5px 11px 5px 7px;
                    z-index: 1;

                    &::after {
                        content: '';
                        /* 用伪元素来生成一个矩形 */
                        position: absolute;
                        top: 0;
                        right: 0;
                        bottom: 0;
                        z-index: -1;
                        left: 0;
                        border-radius: 5px;
                        background: @colorPrimary;
                        transform: perspective(.5em) rotateX(2deg);
                        transform-origin: left;

                    }

                }
            }
        }

        &_bottom {
            padding: 15px 24px;
        }
    }

    &_progress {
        width: 262px !important;
        height: 262px !important;
        position: relative;
        border-radius: 50%;
        /* 渐变效果 */
        border: 3px solid #1987AC;
        /* 可选的边框样式 */


        .ant-progress-inner {
            width: 100% !important;
            height: 100% !important;
        }

    }

    &_info {
        &_one {
            &_tip {
                width: 100%;
                position: relative;
                padding: 20px;
                text-indent: .5em;
                font-size: 14px;
                font-weight: normal;
                line-height: 26px;
                color: #666666;

                &_bg {
                    position: absolute;
                    left: 0;
                    top: 0;
                    width: 6px;
                    height: 100%;
                    border-radius: 6px 0px 0px 6px;
                    z-index: 10;
                }
            }

            &_tabs {
                .ant-tabs-tab {
                    width: auto;
                    font-size: 20px;
                    color: #666;
                    height: auto;
                }

                .ant-tabs-tab+.ant-tabs-tab {
                    margin: 0 0 0 20px !important;
                }

                .ant-tabs-tab-btn {
                    color: #666;
                }

                .ant-tabs-tab-active {
                    font-weight: bold;

                    .ant-tabs-tab-btn {
                        color: #333 !important;
                    }
                }

                .ant-tabs-ink-bar {
                    background: @colorPrimary;
                    bottom: 12px !important;
                    height: 5px !important;
                    border-radius: 20px;
                    z-index: -1;
                }
            }

            &_item {
                padding: 8px;
                background: #F5F6F8;
                border-radius: 6px;
                line-height: 26px;
                font-size: 14px;
                color: #666;

                &_point {
                    width: 4px;
                    height: 4px;
                    border-radius: 50%;
                    margin-right: 8px;
                    background-color: #666666;
                }
            }
        }

        &_two {
            &_top {
                // background: url('../../assets/apply_bg.png');
                background-size: 100% 100%;
                padding: 32px;
                border-top-left-radius: 10px;
                border-top-right-radius: 10px;
            }

            &_content {
                padding: 32px 32px 0;

                .ant-input-number-group-wrapper {
                    width: 100%;
                    background: #F5F6F8;
                    padding: 15px 18px;
                }
            }

            &_btns:hover {
                border: none !important;
            }
        }


    }

    &_page {
        &_word {
            color: #004056;
            font-size: 20px;
            font-weight: bold;
        }

        &_suc {
            padding: 40px;
            border-radius: 10px;
            border: 1px solid #EAF0F4;
            background: linear-gradient(180deg, #EFF6FE 0%, #FFFFFF 40%);
        }

        &_content {
            margin: 40px 0 48px 0;

            &_left {
                // background-image: url('../../assets/view_bg.png');                min-height: 670px;
                background-size: 100% 100%;
                margin-right: 21px;
                flex: 1;
                position: relative;

                &_content {
                    position: absolute;
                    bottom: 24px;
                    left: 24px;
                    right: 24px;
                    text-align: left;
                }
            }

            &_right {
                flex: 1;
                text-align: left;

                &_card {
                    min-height: 670px;
                    border-radius: 20px;

                    .ant-card-body {
                        padding: 36px;
                    }

                    &_title {
                        font-size: 16px;
                        font-weight: bold;
                        color: #333;
                        margin-bottom: 16px;
                    }

                    &_picker {
                        visibility: hidden;
                    }

                }
            }
        }
    }

}

.picker {
    position: static !important;
    inset: -567px auto auto 0 !important;
    margin-left: 53%;
    display: flex;


    .ant-picker-panel-container {
        position: relative;
        z-index: 1;
    }

    .ant-picker-date-panel {
        width: 615px;
    }

    .ant-picker-now-btn {
        color: @colorPrimary;
    }

    .ant-picker-cell-in-view.ant-picker-cell-selected:not(.ant-picker-cell-disabled) .ant-picker-cell-inner {
        background-color: @colorPrimary;
        border-radius: 50%;
    }

    .ant-picker-cell-inner {
        width: 33px;
        height: 33px !important;
        line-height: 33px !important;
        border-radius: 50% !important;
    }


    .ant-picker-cell-in-view.ant-picker-cell-today .ant-picker-cell-inner::before {
        border-radius: 50%;
    }

    .ant-picker-content {
        tbody .ant-picker-cell-disabled {
            &::before {
                height: 80%;
            }

            &:first-child {
                &::before {
                    border-top-left-radius: 10px;
                    border-bottom-left-radius: 10px;
                }
            }

            &:last-child {
                &::before {
                    border-top-right-radius: 10px;
                    border-bottom-right-radius: 10px;
                }
            }

        }
    }

}

.data {
    &_card {
        position: relative;
        z-index: 1;

        .ant-card-body {
            padding: 0 32px;
        }
    }

    &_tabs {
        .ant-tabs-nav {
            &::before {
                border-bottom: 1px solid #D1D1D1;
                left: -32px;
                right: -32px;
            }
        }

        .ant-tabs-tab {
            width: auto !important;
            height: 76px !important;
            font-size: 15px;
            color: #333 !important;
            display: flex;
            justify-content: center;
        }

        .info_right_form_title {
            margin-top: 32px;
            padding-bottom: 24px;
            font-size: 18px;
            line-height: 1;
        }

        .ant-input,
        .ant-select-selector,
        .ant-picker {
            width: 100%;
            padding: 16px 24px !important;
            border: 1px solid #F5F6F8 !important;
            border-radius: 20px;
            box-shadow: none !important;
            font-size: 16px;
            background: #F5F6F8 !important;
        }

        .ant-input-number,
        .ant-input-number-wrapper {
            background: #F5F6F8 !important;
            padding-left: 16px;
            border-radius: 8px;

        }

        .ant-form-item-control-input-content {
            background: #F5F6F8 !important;
            border-radius: 8px !important;
        }

        .ant-input-number-group-addon,
        .ant-input-group-addon {
            border-bottom: 0 !important;
        }

        .ant-input-number {
            border-bottom: 0 !important;
            padding-left: 16px !important;

        }
    }
}

.apply {

    .ant-pagination .ant-pagination-item-active,
    .ant-pagination .ant-pagination-item-active a {
        color: @colorPrimary  !important;
        border-color: @colorPrimary;
    }

    .ant-form-item {
        .apply_select {
            .ant-select-selector {
                border-radius: 6px;
                border: 1px solid #d9d9d9;

            }
        }
    }

    &_modal {
        .ant-modal-content {
            padding: 0 !important;
            border-radius: 20px !important;
            background-color: transparent;
        }

        &_top {
            // background-image: url('../../assets/apply_modal_bg.png');
            background: #011c64;
            background-size: 100% 100%;
            padding: 32px 32px 36px;
            border-top-left-radius: 20px;
            border-top-right-radius: 20px;

            &_line {
                border-inline-start: 1px solid rgba(255, 255, 255, 0.2);
                height: 12px;
                margin-inline: 16px;
            }
        }

        &_content {
            padding: 32px;
            border-radius: 20px;
            margin-top: -20px;
            position: relative;
            backdrop-filter: blur(54px);
            background: linear-gradient(180deg, rgba(255, 255, 255, 0.9) 0%, rgba(255, 255, 255, 0.9) 100%);


            &_title {
                color: #003087;
                font-size: 18px;
                font-weight: 700;
            }

            &_step {

                .ant-steps-item-description {
                    color: #999 !important;
                }

                .ant-steps-item-title {
                    font-size: 16px;
                    color: #000 !important;
                }

                &_title {
                    color: #003087;
                    font-size: 18px;
                    font-weight: 700;
                    margin: 16px 0;
                }

                &_card {
                    border-radius: 8px;
                    background-color: #fff;
                    padding: 33px 9px 28px;

                    .ant-steps-item-wait .ant-steps-item-icon>.ant-steps-icon .ant-steps-icon-dot {
                        background: #999;
                    }

                    .ant-steps-item-wait>.ant-steps-item-container>.ant-steps-item-tail::after {
                        background-color: #999;
                    }

                    .ant-steps-item-error>.ant-steps-item-container>.ant-steps-item-tail::after {
                        background-color: #999;
                    }



                    .ant-steps-item-tail::after {
                        width: calc(100% - 20px) !important;
                        height: 1px !important;
                        margin-inline-start: 10px !important;
                    }

                }
            }

            &_platform {
                &_card {
                    background: #DEEBFF;
                    padding: 24px 36px;
                    border-radius: 8px;

                    .ant-typography-expand,
                    .ant-typography-collapse {
                        display: block;
                        text-align: center;
                        margin-top: 5px;
                        height: 11px;
                        margin-bottom: -4px;
                        position: relative;
                        left: 50%;
                    }

                    &_icon {
                        transition: all .3s ease;
                    }

                    .rote {
                        transform: rotate(180deg);
                    }
                }
            }
        }
    }
}

.msg {
    color: #333;


    &_circle {
        border-radius: 50%;
        width: 6px;
        height: 6px;
    }

    &_bg {
        border-radius: 8px;
        padding: 20px 29px;
        background: #FAFBFF;
        color: #333;

    }
}

.plan_form {


    .ant-input-number-outlined:hover {
        border-color: @colorPrimary;
    }

    .ant-input-number-group-addon {
        background: #fff;
        border: none;
        color: #999999;
        font-size: 12px;
    }

    .ant-select-selector {
        border: none !important;
    }

    .ant-input-number-outlined,
    .ant-input-number-input-wrap,
    .ant-input-number {
        border: none !important;

        &:focus {
            box-shadow: none !important;
            border: none !important;
        }

        &:focus-within {
            box-shadow: none !important;

        }
    }

    .ant-input-number-wrapper {
        margin-top: 10px;
    }

    .ant-input-number {
        position: absolute;
        left: 0;
        bottom: -35px;
        color: rgb(51, 51, 51);
        font-size: 16px;
    }


}